import { WsConnection } from "tsrpc";
import { ecs } from "../../../core/ecs/ECS";
import { ServiceType as RoomServiceType } from "../../../tsrpc/shared/protocols/RoomServiceProto";

@ecs.register('RoomModel')
export class RoomModelComp extends ecs.Comp {
    roomId:number = null!;
    roomName:string = null!;
    password:string = null!;
    num:number = null!;
    players:Array<number> = new Array();
    conns: WsConnection<RoomServiceType>[] = [];
    reset(): void {
        
    }

    
    
}